<template>
	<view class="all-box">
		<view class="all-box-title">选择教练类型</view>
		<view class="sport-type-choose">
			<view class="choose-item" @click="toAuth(1)">
				<image class="item-icon" src="https://image.nanjingtouyang.com/touy/2024/06/25/86171a2e97934484955d28aa3b47aafe.png" mode=""></image>
				<view class="choose-item-text">
					<view class="text-title">健身教练</view>
					<view class="text-txts">教练根据用户预约的时间，到达用户选择的健身房，提供1v1或1v2健身私教服务。</view>
				</view>
			</view>
			
			<view class="choose-item" @click="toAuth(2)">
				<image class="item-icon" src="https://image.nanjingtouyang.com/touy/2024/06/25/0c523b90737347b8a840b8ba199e9d9a.png" mode=""></image>
				<view class="choose-item-text">
					<view class="text-title">瑜伽教练</view>
					<view class="text-txts">教练根据用户预约的时间，到达用户家中或指定的其他地点，上门提供瑜伽私教服务。</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
		
		},
		
		methods: {
			toAuth(type) {
				uni.redirectTo({
					url:'../../pages/auth-detail/index?type='+ type
				})
			}
		}
	}
</script>

<style lang="scss">
	@import './choose-type.scss';
</style>